package com.jumi.microservice.entity;

import com.baomidou.mybatisplus.annotation.*;
import java.math.*;
import java.util.Date;

/**
 * @author by  mazhao
 * @Date 2020-10-06 
 */

@TableName("user_wallet")
public class UserWallet {

   @TableId(value = "id",type = IdType.AUTO)
	private Integer id;

	/**
	 * 金额
	 */
	private BigDecimal amount;

	/**
	 * 出入账分类
	 */
	private Integer type;

	/**
	 * 备注
	 */
	private String remark;

	/**
	 * 余额
	 */
	private BigDecimal balance;

	/**
	 * 关联用户ID
	 */
	private Long userId;

	/**
	 * 用户等级
	 */
	private Integer userLevel;

	/**
	 * 关联订单ID
	 */
	private Integer orderId;

	/**
	 * 订单编号
	 */
	private String orderNo;

	/**
	 * 创建时间
	 */
	private Date createTime;

	private Date updateTime;

	/**
	 * 删除标记 0否1是
	 */
	private Byte delFlag;

	/**
	 * 扩展关联ID1
	 */
	private Long extId1;

	/**
	 * 扩展关联ID2
	 */
	private Long extId2;

	public Integer getUserLevel() {
		return userLevel;
	}

	public void setUserLevel(Integer userLevel) {
		this.userLevel = userLevel;
	}

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public BigDecimal getAmount() {
		return this.amount;
	}

	public void setAmount(BigDecimal amount) {
		this.amount = amount;
	}

	public Integer getType() {
		return this.type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

	public String getRemark() {
		return this.remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public BigDecimal getBalance() {
		return this.balance;
	}

	public void setBalance(BigDecimal balance) {
		this.balance = balance;
	}

	public Long getUserId() {
		return this.userId;
	}

	public void setUserId(Long userId) {
		this.userId = userId;
	}

	public Integer getOrderId() {
		return orderId;
	}

	public void setOrderId(Integer orderId) {
		this.orderId = orderId;
	}

	public String getOrderNo() {
		return this.orderNo;
	}

	public void setOrderNo(String orderNo) {
		this.orderNo = orderNo;
	}

	public Date getCreateTime() {
		return this.createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Date getUpdateTime() {
		return this.updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	public Byte getDelFlag() {
		return this.delFlag;
	}

	public void setDelFlag(Byte delFlag) {
		this.delFlag = delFlag;
	}

	public Long getExtId1() {
		return this.extId1;
	}

	public void setExtId1(Long extId1) {
		this.extId1 = extId1;
	}

	public Long getExtId2() {
		return this.extId2;
	}

	public void setExtId2(Long extId2) {
		this.extId2 = extId2;
	}

}
